|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectraar.behaviour.RAMathExpression
| Field Summary | |
static int |
ADD
|
static int |
DIVIDE
|
static int |
MULTIPLY
|
static int |
POWER
|
static int |
SUBTRACT
|
| Constructor Summary | |
RAMathExpression(RAMathObject x,
RAMathObject y,
int operation)
|
|
| Method Summary | |
boolean |
canContain(RAAllowed other)
|
boolean |
equals(RAEqualityComparable r)
Test whether the two values are equal. |
RAReal |
evaluate()
|
boolean |
larger(RAFullComparable r)
Returns true if this real is larger than r, given the specific tolerance in the config file. |
boolean |
largerEquals(RAFullComparable r)
Returns true if this real is larger than r or equals, given the specific tolerance in the config file. |
RAAllowed |
makeClone()
|
boolean |
smaller(RAFullComparable r)
Returns true if this real is smaller than r, given the specific tolerance in the config file. |
boolean |
smallerEquals(RAFullComparable r)
Returns true if this real is smaller than r or equals r, given the specific tolerance in the config file. |
java.lang.String |
toString()
|
RADataType |
value()
Vraag de waarde op van de klasse. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int ADD
public static final int SUBTRACT
public static final int MULTIPLY
public static final int DIVIDE
public static final int POWER
| Constructor Detail |
public RAMathExpression(RAMathObject x,
RAMathObject y,
int operation)
| Method Detail |
public RAReal evaluate()
throws RAException
RAException
public RADataType value()
throws RAException
RAMathObject
value in interface RAMathObjectRAException
public RAAllowed makeClone()
throws RAException
makeClone in interface RAAllowedRAException
public boolean equals(RAEqualityComparable r)
throws RAException
equals in interface RAEqualityComparableRAException
public boolean larger(RAFullComparable r)
throws RAException
larger in interface RAFullComparabler - Another real bites the dust
RAException
public boolean smaller(RAFullComparable r)
throws RAException
smaller in interface RAFullComparabler - Another real bites the dust
RAException
public boolean largerEquals(RAFullComparable r)
throws RAException
largerEquals in interface RAFullComparabler - Another real bites the dust
RAException
public boolean smallerEquals(RAFullComparable r)
throws RAException
smallerEquals in interface RAFullComparabler - Another real bites the dust
RAExceptionpublic java.lang.String toString()
public boolean canContain(RAAllowed other)
canContain in interface RAAllowed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||